import { request } from '../../../request';

/** 获取领取列表 */
export function getReceiveList(params: any) {
  return request({
    url: '/qms/agv/frock/testStand/record/list',
    method: 'get',
    params
  });
}

/** 领取列表删除 */
export function receiveListDelete(id: any) {
  return request({
    url: `/qms/agv/frock/testStand/record/delete/${id}`,
    method: 'delete'
  });
}

/** 使用列表 */
export function getUseList(params: any) {
  return request({
    url: '/qms/agv/frock/testStand/use/list',
    method: 'get',
    params
  });
}

/** 使用列表删除 */
export function useListDelete(id: any) {
  return request({
    url: `/qms/agv/frock/testStand/use/delete/${id}`,
    method: 'delete'
  });
}
